package edu.toronto.whimper.GeneralObjects;


public class NoiseSample {

	private String date;
	private double noise;
	
	MyLocation location;
	//private double longitude;    
    //private double latitude;
    //private double altitude;

    public NoiseSample(String date, double noise, MyLocation myloc)
    {
    	this.date =  date;
    	this.noise = noise;
    	this.location = myloc;
    	
    }
    @Override
    public String toString()
    {
        return getDate() +  " , " + Double.toString(getNoise())+ " , " + 
        location.toString();
        
    }
    
    /**
     * @return Date
     */
    public String getDate() {
        return date;
    }

    /**
     * @param date
     */
    public void setDate(String date) {
        this.date = date;
    }
    
    /**
     * @return Noise
     */
    public double getNoise() {
        return noise;
    }

    /**
     * @param noise
     */
    public void setNoise(double noise) {
        this.noise = noise;
    }
    
    /**
     * @return MyLocation
     */
    public MyLocation getLocation() {
        return location;
    }

    /**
     * @param location
     */
    public void setNoise(MyLocation location) {
        this.location = location;
    }

    
}
